package com.beidouapp.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.beidouapp.domain.example.DrugMsgExample;
import com.beidouapp.domain.pojo.DrugMsg;

public interface DrugMsgMapper {
    int countByExample(DrugMsgExample example);

    int deleteByExample(DrugMsgExample example);

    int deleteByPrimaryKey(String id);

    int insert(DrugMsg record);

    int insertSelective(DrugMsg record);

    List<DrugMsg> selectByExample(DrugMsgExample example);

    DrugMsg selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") DrugMsg record, @Param("example") DrugMsgExample example);

    int updateByExample(@Param("record") DrugMsg record, @Param("example") DrugMsgExample example);

    int updateByPrimaryKeySelective(DrugMsg record);

    int updateByPrimaryKey(DrugMsg record);
    
    List<DrugMsg> getDrugMsgList(DrugMsg drugMsg);
}